package com.vision.sales.cl.data;

import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.LabelProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
import com.vision.sales.cm.data.MonthlyTotalsItem;

/**
 * 
 * @author Mark
 *
 */
public interface MonthlyTotalsItemProperties extends PropertyAccess<MonthlyTotalsItem> {
	
	public static final MonthlyTotalsItemProperties INSTANCE = GWT.create(MonthlyTotalsItemProperties.class);
	
	@Path("transaction")
	ModelKeyProvider<MonthlyTotalsItem> key();

	@Path("transaction")
	LabelProvider<MonthlyTotalsItem> nameLabel();

	ValueProvider<MonthlyTotalsItem, String> transaction();
	ValueProvider<MonthlyTotalsItem, Double> total();
	ValueProvider<MonthlyTotalsItem, Double> average();
	
	ValueProvider<MonthlyTotalsItem, Double> minimum();
	ValueProvider<MonthlyTotalsItem, Double> maximum();

}
